package com.fowo.api.sys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fowo.api.common.model.RException;
import com.fowo.api.sys.entity.SysApplication;
import com.fowo.api.sys.model.*;
import com.fowo.api.user.model.CurrentUser;

import java.util.List;

public interface SysApplicationService extends IService<SysApplication> {
    SysApplication create(CreateSysApplication model) throws RException;

    Page<SysApplicationItemVo> searchPage(SysApplicationSearch search);

    List<SysApplicationItemVo> search(SysApplicationSearch search);

    SysApplication getByAppName(String appName);
}
